import { PureComponent } from 'react'
import { Modal, Input } from 'antd'
import styles from './setOderModal.less'
class OderModal extends PureComponent {
    handleOk = () => {
        const { onOk } = this.props
        onOk()
    }
    handleCancel = () => {
        const { onCancel } = this.props
        onCancel()
    }
    render(){
        const { showModal } = this.props
        return(
            <Modal
            title="RedPack面单号绑定"
            centered
            width={483}
            visible={showModal}
            onOk={this.handleOk}
            onCancel={this.handleCancel}
        >
          <p className={styles.pContext}>请输入RedPack面单号:</p>
          <Input style={{margin: '10px 0 10px 90px',width: '292px'}}/>
        </Modal>
        )
    }
}
export default OderModal
